package com.cc.monitor.entity.message;

/**
 * Code
 *
 * @author aa
 * @version 1.0
 * @since 2024/11/21
 */

public enum Code {
    // collect success
    SUCCESS(0),
    // collector not available
    UN_AVAILABLE(1),
    // peer network un reachable(icmp)
    UN_REACHABLE(2),
    // peer network server un connectable(tcp,udp...)
    UN_CONNECTABLE(3),
    // collect metrics data failed(http,ssh,snmp...)
    FAIL(4),
    // collect metrics data timeout
    TIMEOUT(5);

    Code(int i) {

    }
}
